package com.whacos.modules.system.service;

import com.whacos.modules.system.entity.SysUser;
import com.whacos.modules.system.entity.SysUserOnline;
import org.apache.shiro.session.Session;
import org.springframework.stereotype.Service;

import java.util.Collection;
import java.util.List;

/**
 * @author xiongdun
 * @description SessionService
 * @since 2018/11/17 17:11
 */
//@Service
public interface SessionService {

    List<SysUserOnline> list();

    List<SysUser> listOnlineUser();

    Collection<Session> sessionList();

    boolean forceLogout(String sessionId);
}
